import App from '../App'

const my_ticket = r => require.ensure([], () => r(require('../page/my_ticket/my_ticket')), 'my_ticket')
const shara_invite = r => require.ensure([], () => r(require('../page/shara_invite/shara_invite')), 'shara_invite')
const effect_count = r => require.ensure([], () => r(require('../page/effect_count/effect_count')), 'effect_count')
const sponsor_home = r => require.ensure([], () => r(require('../page/sponsor_home/sponsor_home')), 'sponsor_home')
const user_event = r => require.ensure([], () => r(require('../page/user_event/user_event')), 'user_event')
const action_btn = r => require.ensure([], () => r(require('../components/action_btn/action_btn')), 'action_btn')
const check_btn = r => require.ensure([], () => r(require('../components/check_btn/check_btn')), 'check_btn')
const activity_btn = r => require.ensure([], () => r(require('../components/action_btn/activity_btn')), 'activity_btn')

const chat_news = r => require.ensure([], () => r(require('../page/chat_news/chat_news')), 'chat_news')
const dialogue = r => require.ensure([], () => r(require('../page/dialogue/dialogue')), 'dialogue')
const sign_up = r => require.ensure([], () => r(require('../page/sign_up/sign_up')), 'sign_up')
const event_publish = r => require.ensure([], () => r(require('../page/event_publish/event_publish')), 'event_publish')
const demo = r => require.ensure([], () => r(require('../page/demo/demo')), 'demo')
const demo2 = r => require.ensure([], () => r(require('../page/demo/demo2')), 'demo')
const Mass = r => require.ensure([], () => r(require('../page/Mass/Mass')), 'Mass')
const event_manege = r => require.ensure([], () => r(require('../page/exhibitor/event_manege/event_manege.vue')), 'event_manege')
const catalogue = r => require.ensure([], () => r(require('../page/catalogue/catalogue.vue')), 'catalogue')
const user_join = r => require.ensure([], () => r(require('../page/exhibitor/user_join/user_join.vue')), 'user_join')
const event_details = r => require.ensure([], () => r(require('../page/event_details/event_details.vue')), 'event_details')
const event_summarize = r => require.ensure([], () => r(require('../page/event_summarize/event_summarize.vue')), 'event_summarize')
const sign_in = r => require.ensure([], () => r(require('../page/users/sign_in/sign_in.vue')), 'sign_in')
const award_list= r => require.ensure([], () => r(require('../page/exhibitor/award_list/award_list.vue')), 'award_list')
const user_detail= r => require.ensure([], () => r(require('../page/exhibitor/user_detail/user_detail.vue')), 'user_detail')
const sign_succeed= r => require.ensure([], () => r(require('../page/sign_succeed/sign_succeed.vue')), 'sign_succeed')
const ticket_qrcode= r => require.ensure([], () => r(require('../page/users/ticket_qrcode/ticket_qrcode.vue')), 'ticket_qrcode')
const add_award= r => require.ensure([], () => r(require('../page/exhibitor/add_award/add_award.vue')), 'add_award')
const addition_problem= r => require.ensure([], () => r(require('../page/exhibitor/addition_problem/addition_problem.vue')), 'addition_problem')

const change_problem= r => require.ensure([], () => r(require('../page/exhibitor/change_problem/change_problem.vue')), 'change_problem')
const change_award= r => require.ensure([], () => r(require('../page/exhibitor/change_award/change_award.vue')), 'change_award')
const change_event= r => require.ensure([], () => r(require('../page/exhibitor/change_event/change_event.vue')), 'change_event')
const user_apply= r => require.ensure([], () => r(require('../page/users/user_apply/user_apply')), 'user_apply');
const action_award_list= r => require.ensure([], () => r(require('../page/users/action_award_list/action_award_list')), 'action_award_list')
const exhibitor_position= r => require.ensure([], () => r(require('../page/exhibitor/exhibitor_position/exhibitor_position')), 'exhibitor_position')
const user_apply_succeed= r => require.ensure([], () => r(require('../page/users/user_apply_succeed/user_apply_succeed')), 'user_apply_succeed')
const release_succeed= r => require.ensure([], () => r(require('../page/exhibitor/release_succeed/release_succeed')), 'release_succeed')
const set_action_position= r => require.ensure([], () => r(require('../page/exhibitor/set_action_position/set_action_position')), 'set_action_position')
const user_search= r => require.ensure([], () => r(require('../page/exhibitor/user_search/user_search')), 'user_search')
const invite_ability= r => require.ensure([], () => r(require('../page/invite_ability/invite_ability')), 'invite_ability')
// toptop
export default [{
  path: '/',
  component: App, //顶层路由，对应index.html
  children: [ //二级路由。对应App.vue
    //地址为空时跳转home页面
    {
      path: '/my_ticket',
      component: my_ticket,
      meta: {
        title: '我的票卷'
      }
    },
    {
      path: '/shara_invite',
      component: shara_invite,
      meta: {
        title: '邀约分享'
      }
    },
    {
      path: '/effect_count',
      component: effect_count,
      meta: {
        title: '效果统计'
      }
    },
    {
      path: '/sponsor_home',
      component: sponsor_home,
      meta: {
        title: '主办方首页'
      }
    },
    {
      path: '/user_event',
      component: user_event,
      meta: {
        title: '活动'
      }
    },
    {
      path: '/action_btn',
      component: action_btn,
      meta: {
        title: '功能键'
      }
    },
    {
      path: '/chat_news',
      component: chat_news,
      meta: {
        title: '消息'
      }
    },
    {
      path: '/dialogue',
      component: dialogue,
      meta: {
        title: '对话'
      }
    },
    {
      path: '/sign_up',
      component: sign_up,
      meta: {
        title: '报名'
      }
    },
    {
      path: '/event_publish',
      component: event_publish,
      meta: {
        title: '发布活动'
      }
    },
    {
      path: '/demo',
      component: demo,
      meta: {
        title: '案例'
      }
    },
    {
      path: '/Mass',
      component: Mass,
      meta: {
        title: '群聊'
      }
    },
    {
      path: '/event_manege',
      component: event_manege,
      meta: {
        title: '活动'
      }
    },
    {
      path: '/event_manege',
      component: event_manege,
      meta: {
        title: '活动'
      }
    }, {
      path: '/catalogue',
      component: catalogue,
      meta: {
        title: '目录'
      }
    },
    {
      path: '/user_join',
      component: user_join,
      meta: {
        title: '活动报名表'
      }
    }, {
      path: '/event_details',
      component: event_details,
      meta: {
        title: '活动报名表'
      }
    },
    {
      path: '/event_summarize',
      component: event_summarize,
      meta: {
        title: '活动总结'
      }
    },
    {
      path: '/demo2',
      component: demo2,
      meta: {
        title: '案例2'
      }
    },
    {
      path: '/sign_in',
      component: sign_in,
      meta: {
        title: '签到'
      }
    },
    {
      path: '/sign_in',
      component: sign_in,
      meta: {
        title: '签到'
      }
    },
    {
      path: '/award_list',
      component:award_list,
      meta: {
        title: '用户奖励名单'
      }
    },

    {
      path: '/user_detail',
      component:user_detail,
      meta: {
        title: '用户详情'
      }
    },
    
    {
      path: '/check_btn',
      component:check_btn,
      meta: {
        title: '勾选组件'
      }
    }, {
        path: '/sign_succeed',
        component:sign_succeed,
        meta: {
          title: '签到成功'
        }
      },
      {
        path: '/ticket_qrcode',
        component:ticket_qrcode,
        meta: {
          title: '我的票证'
        }
      },
      {
        path: '/add_award',
        component:add_award,
        meta: {
          title: '添加奖励'
        }
      },
      {
        path: '/addition_problem',
        component:addition_problem,
        meta: {
          title: '报名附加填写项'
        }
      },
 
      {
        path: '/change_problem',
        component:change_problem,
        meta: {
          title: '修改问题'
        }
      },

      {
        path: '/change_award',
        component:change_award,
        meta: {
          title: '修改问题'
        }
      }, {
        path: '/activity_btn',
        component:activity_btn,
        meta: {
          title: '活动按键'
        }
      },
      , {
        path: '/change_event',
        component:change_event,
        meta: {
          title: '编辑活动'
        }
      },
       {
        path: '/user_apply',
        component:user_apply,
        meta: {
          title: '报名'
        }
      },
      {
        path: '/action_award_list',
        component:action_award_list,
        meta: {
          title: '活动奖励名单'
        }
      },
      {
        path: '/exhibitor_position',
        component:exhibitor_position,
        meta: {
          title: '展位地图'
        }
      },
      {
        path: '/user_apply_succeed',
        component: user_apply_succeed,
        meta: {
          title: '报名成功'
        }
      },
      {
        path: '/release_succeed',
        component: release_succeed,
        meta: {
          title: '发布成功'
        }
      },
       {
        path: '/set_action_position',
        component: set_action_position,
        meta: {
          title: '展位地图'
        }
      },
      {
        path: '/user_search',
        component: user_search,
        meta: {
          title: '活动列表搜索'
        }
      },
      {
        path: '/invite_ability',
        component: invite_ability,
        meta: {
          title: '邀请能力'
        }
      },

    
     

  
      
      

    




  ]
}]
